package gt.entity.bound;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 * 微信用户绑定门店表
 * @author yangsitong
 */
@Entity
public class Bound implements Serializable {

   /**
	* default SerialVersionUID
	*/
	private static final long serialVersionUID = 1L;

	// Fields

	private Long boundId;// 绑定Id
	private Long agentId;// 代办点Id
	private String agentName;// 代办点名称
	private String openId;// 微信Id
	private Long carrierId;// 快递公司Id
	private String carrierName;// 快递公司名称
	private Long carrierSiteId;// 快递公司Id
	private String carrierSiteName;// 快递公司名称
	private Integer boundStatus;// 绑定状态1:已绑定2:已解绑
	private Long createTime;// 添加时间 
	private Long updateTime;// 更新时间
	private Integer dataSourceType; //数据源类型：1、服务站；2、开放平台
	
	// Empty Constructor
	public Bound() {
		super();
	}
	
	// Full Constructor
	public Bound(Long boundId, Long agentId,String agentName, String openId, Long carrierId, String carrierName,Long carrierSiteId,String carrierSiteName, Integer boundStatus, Long createTime, Long updateTime ,Integer dataSourceType) {
		this.boundId =  boundId;
		this.agentId =  agentId;
		this.agentName = agentName;
		this.openId =  openId;
		this.carrierId =  carrierId;
		this.carrierName =  carrierName;
		this.carrierSiteId = carrierSiteId;
		this.carrierSiteName =carrierSiteName;
		this.boundStatus =  boundStatus;
		this.createTime =  createTime;
		this.updateTime =  updateTime;
		this.dataSourceType = dataSourceType;
	}

	// Property accessors

	public Long getCarrierSiteId() {
		return carrierSiteId;
	}

	public void setCarrierSiteId(Long carrierSiteId) {
		this.carrierSiteId = carrierSiteId;
	}

	public String getCarrierSiteName() {
		return carrierSiteName;
	}

	public void setCarrierSiteName(String carrierSiteName) {
		this.carrierSiteName = carrierSiteName;
	}

	public Long getBoundId () {
		return this.boundId;
	}
	
	public void setBoundId (Long boundId) {
		this.boundId =  boundId;
	}
	
	public Long getAgentId () {
		return this.agentId;
	}
	
	public void setAgentId (Long agentId) {
		this.agentId =  agentId;
	}
	
	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getOpenId () {
		return this.openId;
	}
	
	public void setOpenId (String openId) {
		this.openId =  openId;
	}
	
	public Long getCarrierId () {
		return this.carrierId;
	}
	
	public void setCarrierId (Long carrierId) {
		this.carrierId =  carrierId;
	}
	
	public String getCarrierName () {
		return this.carrierName;
	}
	
	public void setCarrierName (String carrierName) {
		this.carrierName =  carrierName;
	}
	
	public Integer getBoundStatus () {
		return this.boundStatus;
	}
	
	public void setBoundStatus (Integer boundStatus) {
		this.boundStatus =  boundStatus;
	}
	
	public Long getCreateTime () {
		return this.createTime;
	}
	
	public void setCreateTime (Long createTime) {
		this.createTime =  createTime;
	}
	
	public Long getUpdateTime () {
		return this.updateTime;
	}
	
	public void setUpdateTime (Long updateTime) {
		this.updateTime =  updateTime;
	}

	public Integer getDataSourceType() {
		return dataSourceType;
	}

	public void setDataSourceType(Integer dataSourceType) {
		this.dataSourceType = dataSourceType;
	}
	
}